/**
 * @description: Login interface parameters
 */
export interface LoginParams {
  username: string;
  password: string;
  browserUuid: string;
  anonymous: number;
  mode: string;
}

/**
 * @description: 注册账号参数
 */
export interface RegisterParams {
  companyName: string;
  account: string;
  password: string;
  browserUuid: string;
}

export interface RoleInfo {
  roleName: string;
  value: string;
}

/**
 * @description: 注册公司参数
 */
export interface RegisterParams {
  companyName: string;
  account: string;
  password: string;
  browserUuid: string;
}

/**
 * 账号信息
 */
export interface AccountInfoParams {
  userId: string | number;
  username: string;
  nickName: string;
  realName: string;
  password: string;
  browserUuid: string;
  intro: string;
  avatar: string;
  wxMoneyCode: string;
  aliMoneyCode: string;
}

/**
 * @description: 修改密码参数
 */
export interface ChangePwdParams {
  passwordOld: string;
  passwordNew: string;
}
/**
 * @description: Login interface return value
 */
export interface LoginResultModel {
  userId: string | number;
  token: string;
  role: RoleInfo;
}

/**
 * @description: Get user information return value
 */
export interface GetUserInfoModel {
  roles: RoleInfo[];
  // 用户id
  userId: string | number;
  // 用户名
  username: string;
  // 真实名字
  realName: string;
  // 昵称
  nickName: string;
  // 头像
  avatar: string;
  // 介绍1
  desc?: string;
  // 介绍2
  intro?: string;
  // 手机号
  mobile?: string;
  // 微信收款
  wxMoneyCode?: string;
  // 支付宝收款
  aliMoneyCode?: string;
  // 余额
  balance: number;
}


/**
 * @description: Get user information return value
 */
export interface GetRecommendUserInfoModel {
  // 用户id
  id: string | number;
  nickname: string;
  intro: string;
  balance: number;
  avatarUrl: string;
  wxMoneyCode: string;
  aliMoneyCode: string;
}

/**
 * 账号信息
 */
export interface AccountInfoParams {
  id: number;
  username: string;
  password: string;
  browserUuid: string;
  nickname: string;
  intro: string;
  avatarUrl: string;
  wxMoneyCode: string;
  aliMoneyCode: string;
}



/**
 * @description: Get user information return value
 */
export interface GetRecommendUserInfoModel {
  // 用户id
  id: string | number;
  nickname: string;
  intro: string;
  balance: number;
  avatarUrl: string;
  wxMoneyCode: string;
  aliMoneyCode: string;
}
